//首页的所有后台请求接口
import {
	request
} from '@/utils/request.js';

const API_PREFIX = "/collect";

export function doCollectStore(data) {
	return request({
		url: `${API_PREFIX}/store`,
		method: 'POST',
		data: data
	})
}

export function queryCollectStore(userId) {
	return request({
		url: `${API_PREFIX}/current/query/${userId}`,
		method: 'GET'
	})
}